<?php if (!defined('BASEPATH'))exit('No direct script access allowed');

class Home extends CI_Controller
{
    public function index()
    {
        $data['rslt_berita'] = $this->db->query('SELECT * FROM berita ORDER BY tanggal DESC');
        $this->template->home('home/v_home', $data);
    }
}

/* End of file home.php */
/* Location: ./application/controllers/home.php */